package com.gc.server.dao;

import com.gc.server.entity.LevelEntity;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;

import java.util.List;

/**
 * 级别Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Mar 10 11:17:45 CST 2020
 */
@Mapper
public interface LevelDao extends BaseDao<LevelEntity> {

    /**

        List<LevelVo> queryListVo(LevelVo levelVo);

        LevelVo getVo(Long id);

    **/

   List<LevelEntity> findByType(Integer type);

    LevelEntity findByUserId(Long userId);
}
